package kn.webstd.g4g.commons.dts;

import java.util.Collection;
import java.util.Date;

import kn.webstd.tools.commons.dts.AbstractDts;

@SuppressWarnings("serial")
public class ActivityDts extends AbstractDts {
	private long id;
	private long idProgram;
	private Date startDate;
	private Date finalDate;
	private String name;
	private String description;
	private boolean edit;
	private double target;
	private boolean priority;
	private long idActivity;
	private String uom;
	
	private String responsible;
	
	private boolean isParent;
	private double actual;
	private double targetCalculated;
	private double gap;
	private double suggesttarget;
	private String semaphore;
	private long event;
	private boolean finished;
	private Date modified;
	
	private StatusDts period;
	
	public ActivityDts() {
		// TODO Auto-generated constructor stub
		super();
	}
	
	private Collection<CorrectiveActionDts> correctiveActions;
	
	public Collection<CorrectiveActionDts> getCorrectiveActions() {
		return correctiveActions;
	}

	public Date getModified() {
		return modified;
	}

	public void setModified(Date modified) {
		this.modified = modified;
	}

	public void setCorrectiveActions(
			Collection<CorrectiveActionDts> correctiveActions) {
		this.correctiveActions = correctiveActions;
	}

	public StatusDts getPeriod() {
		return period;
	}

	public void setPeriod(StatusDts period) {
		this.period = period;
	}

	
	
	public String getUom() {
		return uom;
	}

	public void setUom(String uom) {
		this.uom = uom;
	}
	
	public double getActual() {
		return actual;
	}

	public void setActual(double actual) {
		this.actual = actual;
	}

	public double getTargetCalculated() {
		return targetCalculated;
	}

	public void setTargetCalculated(double targetCalculated) {
		this.targetCalculated = targetCalculated;
	}

	public double getGap() {
		return gap;
	}

	public void setGap(double gap) {
		this.gap = gap;
	}

	public String getSemaphore() {
		return semaphore;
	}

	public void setSemaphore(String semaphore) {
		this.semaphore = semaphore;
	}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getFinalDate() {
		return finalDate;
	}
	public void setFinalDate(Date finalDate) {
		this.finalDate = finalDate;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public boolean isEdit() {
		return edit;
	}
	public void setEdit(boolean edit) {
		this.edit = edit;
	}
	public double getTarget() {
		return target;
	}
	public void setTarget(double target) {
		this.target = target;
	}
	public boolean isPriority() {
		return priority;
	}
	public void setPriority(boolean priority) {
		this.priority = priority;
	}
	public long getIdActivity() {
		return idActivity;
	}
	public void setIdActivity(long idActivity) {
		this.idActivity = idActivity;
	}

	public long getIdProgram() {
		return idProgram;
	}

	public void setIdProgram(long idProgram) {
		this.idProgram = idProgram;
	}

	public double getSuggesttarget() {
		return suggesttarget;
	}

	public void setSuggesttarget(double suggesttarget) {
		this.suggesttarget = suggesttarget;
	}

	public boolean isParent() {
		return isParent;
	}

	public void setParent(boolean isParent) {
		this.isParent = isParent;
	}

	public long getEvent() {
		return event;
	}

	public void setEvent(long event) {
		this.event = event;
	}

	public boolean isFinished() {
		return finished;
	}

	public void setFinished(boolean finished) {
		this.finished = finished;
	}
	
	public String getResponsible() {
		return responsible;
	}

	public void setResponsible(String responsible) {
		this.responsible = responsible;
	}
}